﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Work2
{
    class Program
    {
        static void Main(string[] args)
        {
            // 1、猫、狗、鸭、猴，（吃、游泳、爬树）

            Cat cat = new Cat("布偶","吃");
            cat.pashu();
            cat.Eat();

            Console.WriteLine("-----------------");

            Monkey monkey = new Monkey("大马猴","吃");
            monkey.pashu();
            monkey.Eat();

            Console.WriteLine("-----------------");

            Dog dog = new Dog("柯基","吃");
            dog.swim();
            dog.Eat();

            Console.WriteLine("-----------------");

            Duck duck = new Duck("唐老鸭","吃");
            duck.swim();
            duck.Eat();



        }
    }
}
